import {
  ElConfigProvider,
  ElButton,
  ElDatePicker,
  ElEmpty,
  ElHeader,
  ElContainer,
  ElMain,
  ElAside,
  ElFooter,
  ElLoading,
  ElMenu,
  ElSubMenu,
  ElMenuItem,
  ElMenuItemGroup,
  ElImage,
  ElPopover,
  ElTooltip,
  ElCard,
  ElForm,
  ElFormItem,
  ElInput,
  ElRadio,
  ElRadioGroup,
  ElDialog,
  ElSelect,
  ElOption,
  ElUpload,
  ElBreadcrumb,
  ElBreadcrumbItem,
  ElRow,
  ElCol,
  ElTable,
  ElTableColumn,
  ElPagination,
  ElTree,
  ElAvatar
} from 'element-plus';

const components = [
  ElConfigProvider,
  ElButton,
  ElDatePicker,
  ElEmpty,
  ElHeader,
  ElContainer,
  ElMain,
  ElAside,
  ElFooter,
  ElMenu,
  ElSubMenu,
  ElMenuItem,
  ElMenuItemGroup,
  ElImage,
  ElPopover,
  ElTooltip,
  ElCard,
  ElForm,
  ElFormItem,
  ElInput,
  ElRadio,
  ElRadioGroup,
  ElDialog,
  ElSelect,
  ElOption,
  ElUpload,
  ElRow,
  ElCol,
  ElTable,
  ElTableColumn,
  ElPagination,
  ElBreadcrumb,
  ElBreadcrumbItem,
  ElTree,
  ElAvatar
];

const plugins = [ElLoading];

import { Edit, Platform, SwitchButton } from '@element-plus/icons';

const icons = [Edit, Platform, SwitchButton];

export { components, plugins, icons };
